package com.easylinkin.linkappapi.childhospital.mapper;

import com.baomidou.mybatisplus.core.mapper.BaseMapper;
import com.easylinkin.linkappapi.childhospital.entity.DormitoryManageRoom;
import org.apache.ibatis.annotations.Param;

import java.util.List;
import java.util.Map;

public interface DormitoryManageRoomMapper extends BaseMapper<DormitoryManageRoom> {

   void insertBatch(@Param("list") List<DormitoryManageRoom> dormitoryManageRoomList);

    void updateRoomUsedNumber(@Param("roomId")String roomId, @Param("number") int number);

    Map<String, Object> selectRoomCount(String floorId);
}
